package com.ww.springboot.boot.javabase.proxy.demo2.impl;

import com.ww.springboot.boot.javabase.proxy.demo2.InterceptorTest;
import com.ww.springboot.boot.javabase.proxy.demo2.Invocation;

/**
 * 描述：
 *
 * @author wanwei
 * @since 2021-07-16 14:39
 */
public class MyInterceptorTest2 implements InterceptorTest {

    @Override
    public Object intercept(Invocation invocation) throws Throwable {
        System.out.println(2);
        return invocation.proceed();
    }
}
